Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Room UI Redesign: Migrate Modals #3363

Merged
merged 31 commits into from
Nov 30, 2020
Merged

Conversation

robertlong
Copy link
Contributor

@robertlong robertlong commented Nov 17, 2020

This PR affects the following modals:

  • Migrated AvatarUrlModal
  • Migrated SceneUrlModal
  • Migrated ObjectUrlModal
  • ClientInfoDialog moved to UserProfileSidebarContainer
  • Migrated CloseRoomModal
  • Migrated WebVRUnsupportedModal
  • Removed WebRTCScreenShareUnsupported dialog
  • Migrated Tweet/TwitterOAuth Modals
    • Twitter OAuth now done in a popup instead of using a redirect. This allows us to preserve the UI state and avoid having to reload the whole room.
  • Migrated OAuthDialog to OAuthScreen

To Do:

@@ -118,7 +118,7 @@
"react-emoji-render": "^0.4.6",
"react-hook-form": "^6.10.1",
"react-infinite-scroller": "^1.2.2",
"react-intl": "^5.4.5",
"react-intl": "^5.10.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: this was probably reverted in a merge from the master branch. So I'm updating it again in this PR. It's needed for the useIntl hook.

Copy link
Contributor

@johnshaughnessy johnshaughnessy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not able to test the OAuth flows but otherwise this seems good to me!

src/hub.js Outdated
@@ -1229,6 +1197,8 @@ document.addEventListener("DOMContentLoaded", async () => {
}
});

console.log(oauthFlowPermsToken);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console log

description="Accepts glb, png, jpg, gif, mp4, and mp3 files"
/>
<Button type="submit" preset="accept">
<FormattedMessage id="avatar-url-dialog.apply" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Apply" feels awkward here. Maybe "add" or "create" or "load"?
image

@robertlong robertlong merged commit ad0bf2d into room-ui-redesign Nov 30, 2020
@robertlong robertlong deleted the redesign/migrate-modals branch November 30, 2020 17:56
@robertlong robertlong mentioned this pull request Nov 30, 2020
69 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants